
DIST = SpyTouch-$(VER)

CP = cp -Rf
RM = rm -Rf

dist:
	rm -Rf $(DIST)
	rm -Rf $(DIST).zip
	mkdir $(DIST)
	cp SpyTouch.cs $(DIST)/
	cp -Rf SpyTouchClient/bin/Debug/SpyTouchClient.app "$(DIST)/Spy Touch.app"
	cp readme.txt $(DIST)/
	cp -Rf SpyTouchClient $(DIST)/
	rm -rf $(DIST)/SpyTouchClient/bin
	cp -Rf TestApp $(DIST)/
	rm -rf $(DIST)/TestApp/bin
	zip -9 -r -y $(DIST).zip $(DIST)
	rm -Rf $(DIST)
